home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / tsrsl104.zip / TSELECT.CFG < prev    next >
Text File  |  1991-10-01  |  5KB  |  134 lines

  1. .......TSELECT.CFG...........for Version 1.01 of TSR-Select...........
  2. .
  3. .      Quadrant Computer Systems    May 1991 - Aug 1991
  4. .
  5. .All lines starting with a period are comments and are ignored.
  6. .Blank lines are also ignored.
  7. .
  8. .  If you are using the Editor in SELECTC, remember that F2 is Save,
  9. .  and the [ESC] key will exit the editor.  If you exit before saving,
  10. .  any changes you made will be lost.  Press the F1 key for help.
  11. .
  12. .
  13. .      FORMATTING THE CONFIGURATION FILE
  14. .
  15. .     Menu Items begin with an asterisk (*)
  16. .        The menu item names longer than 30 characters are truncated.
  17. .        TSELECT will "grow" the width of the menu to accomodate up to 30.
  18. .
  19. .     Short Cut key specifier line begins with $ (see below)
  20. .
  21. .     All commands required prior to the executable begin with <
  22. .
  23. .     All commands required after the executable begin with >
  24. .
  25. .     The line which executes the program begins with +
  26. .        This line should contain the command (with any parameters)
  27. .        required to execute the program.  The command must have the
  28. .        fully qualified drive and path in front of it, and the program
  29. .        extension must be correct.  For example:  DBASE TEST is NOT valid.
  30. .        C:DBASE.EXE TEST is NOT valid.  C:\DBASE\DBASE TEST is NOT valid.
  31. .        C:\DBASE\DBASE.EXE TEST *is* valid.
  32. .
  33. .        NOTE:  You may also use '@' in place of '+'... using '@' will NOT
  34. .        check for the existence of the executable program... this is
  35. .        actually required if you want to execute an internal DOS command
  36. .        since there is no file for TSELECT to check for.
  37. .
  38. .   As an example, the following menu item would begin with a
  39. .   change of directory to C:\DATA\DBASE, changing the path statement,
  40. .   executing DBASE, then returning the original drive/path, and
  41. .   resetting the path:
  42. .
  43. .       *dBASE                  ; menu selection
  44. .       $1                      ; position of short-cut character in *
  45. .       <ECHO OFF               ; suggested for appearances sake
  46. .       <CLS
  47. .       <SET OPATH=%PATH%
  48. .       <PATH C:\DBASE
  49. .       <C:
  50. .       <CD \DATA\DBASE
  51. .       +C:\DBASE\DBASE.EXE ProgramX    ; ProgramX is a .PRG program
  52. .       >PATH %OPATH%
  53. .       >SET OPATH=
  54. .
  55. .  Immediately following the Menu Selection line (starts with *) is the
  56. .  element that tells TSR-Select which character in the Menu Selection line
  57. .  is to be the short-cut character, the key the user can press to select
  58. .  the item without having to first highlight the selection and press
  59. .  ENTER.  If this is left out, the first character will be used.  If
  60. .  the character chosen competes with a menu selection with the same
  61. .  short-cut key, when the user presses the key, only the first selection
  62. .  will ever be selected.  The only way for the other selection to be
  63. .  executed is if the user highlights it and presses ENTER.
  64. .
  65. .  Below are the real lines of this configuration file.  The total
  66. .  number of lines allowed is 400.  There is no specific limit of
  67. .  lines for any menu selection as long as the total is less than 400.
  68. .  Comment lines are not counted as part of the total.
  69. .
  70. *Mail
  71. $1
  72. <CLS
  73. +Z:\MAIL.EXE
  74. .
  75. *Chat
  76. $1
  77. <CLS
  78. +Z:\CHAT.EXE
  79. .
  80. *SetPrint
  81. $2
  82. <cls
  83. +Z:\SETPRINT.EXE
  84. .
  85. *EndSpool
  86. $1
  87. <CLS
  88. +Z:\ENDSPOOL.EXE
  89. .
  90. *LastMsg                 ; this is a comment... all characters after
  91. $1                       ; a semicolon are ignored.
  92. <cls
  93. +Z:\LASTMSG.EXE
  94. >pause
  95. .
  96. *Send
  97. $1
  98. <cls
  99. +Z:\SEND.EXE
  100. >cls                     ; see explanation below as to why this is here
  101. .
  102. .*dBASE                  ; menu selection
  103. .$2                      ; position of short-cut character in *
  104. .<ECHO OFF               ; suggested for appearances sake
  105. .<CLS
  106. .<SET OPATH=%PATH%
  107. .<PATH C:\DBASE
  108. .<C:
  109. .<CD \DATA\DBASE
  110. .+C:\DBASE\DBASE.EXE
  111. .>PATH %OPATH%
  112. .>SET OPATH=
  113. .>cls
  114. .
  115. . There is a bug in version Beta-01 through version 1.01 which will not read
  116. . the last command line of the last menu entry (the >cls above).  The work
  117. . around is to put some harmless command as the last command line, e.g.,
  118. . the >cls command above.
  119. .
  120. . If there are more than 15 entries, all entries after the 15th entry
  121. . are ignored, and no error message is generated.
  122. .
  123. . If you have input only one entry then TSR-Select will not generate a
  124. . pop-up menu, but will execute that one selection immediately after
  125. . you press the hot-key.  When exiting that selection, the user is
  126. . returned immediately to the foreground application.
  127. .
  128. .
  129. .  WARNING:  Do NOT attempt to use TSR-Select to execute a program that
  130. .            makes low-level modifications to the DOS file system.
  131. .            Programs to avoid include CHKDSK, disk de-fragmenters,
  132. .            and physical directory sorters like Norton's DIRSORT.
  133. .
  134.